package object.extend.object_extends;

public class Man extends Person{
    // 构造函数
    public  Man() {
    }
    public  Man(String hobby) {
        this.hobby = hobby;
    }
    public String gender() {
        return "我是男人";
    }

    public String hobby = "girl";
}
